package cn.qfei.qiyuesuo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/demo")
@Slf4j
public class DemoController {
    @GetMapping
    @RequestMapping("/index")
    public String getTriggers() {
       log.info("就来了");
        return "start";
    }

}
